#ifndef __LORAAPP2_H_
#define __LORAAPP2_H_
#include <SPI.h>
#include <LoRa.h>

// depends on arduino LoRa

// ============jump to lora/src folder==================
//  1 find LoRa.h -> #include<SPI.h> -> #include "pins_arduino.h" -> code 
//  2 config SPI pin code you attach
//      static const uint8_t SDA = 4;
//      static const uint8_t SCL = 2;
//      static const uint8_t SS    = 15;
//      static const uint8_t MOSI  = 13;
//      static const uint8_t MISO  = 12;
//      static const uint8_t SCK   = 14;



#define Pin15 15
#define Pin26 26
#define Pin25 25



void InitLora();
void getData();
void sendData();
void ledblink();

#endif



